package com.secondGroup.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.secondGroup.entity.Flow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.secondGroup.entity.User;
import com.secondGroup.vo.StringVo;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ws
 * @since 2022-05-05
 */
public interface FlowService extends IService<Flow> {

    StringVo transferAccount(User userInfo, BigDecimal amount, String toEid, String payPassword);

    Page<Flow> getDefaultFlow(User user,String pageNum);

    List<Flow> getFlowByT(User user, int[] tradeTime, int tradeType);
}
